package com.nhim.cms.admin.client.rpc;

import java.util.ArrayList;
import java.util.Set;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.nhim.cms.admin.shared.ContentTypeRPCProxy;

public interface ContentTypeRPCServiceAsync {
	void findAll( AsyncCallback<ArrayList<ContentTypeRPCProxy>> callback) throws IllegalArgumentException;
	void findByGroupId(Integer groupId, AsyncCallback<ArrayList<ContentTypeRPCProxy>> callback) throws IllegalArgumentException;
	void persitGroupContentTypes(Integer groupId,Set<Integer> listContentType,AsyncCallback<Boolean> callback) throws IllegalArgumentException;
}

